<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>ubuntu软件安装与卸载方法 | 课程介绍</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../02day/section.4.html" />
    
    
    <link rel="prev" href="../02day/section.2.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.4"
        data-chapter-title="ubuntu软件安装与卸载方法"
        data-filepath="02day/section.3.md"
        data-basepath=".."
        data-revision="Thu Aug 11 2016 08:15:36 GMT+0800 (CST)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        课程介绍
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="01day/index.html">
            
                
                    <a href="../01day/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        Linux、命令
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="01day/section.1.html">
            
                
                    <a href="../01day/section.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        认识Linux
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="01day/section.1.1.html">
            
                
                    <a href="../01day/section.1.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        Linux的不同版本以及应用领域
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="01day/section.2.html">
            
                
                    <a href="../01day/section.2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        文件和目录
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="01day/section.3.html">
            
                
                    <a href="../01day/section.3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        Linux命令概述
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="01day/section.3.1.html">
            
                
                    <a href="../01day/section.3.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        Linux命令-文件、磁盘管理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="01day/section.3.2.html">
            
                
                    <a href="../01day/section.3.2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        Linux命令-用户、权限管理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="01day/section.3.3.html">
            
                
                    <a href="../01day/section.3.3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        Linux命令-系统管理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="01day/section.3.4.html">
            
                
                    <a href="../01day/section.3.4.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        Linux命令-练习
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="02day/index.html">
            
                
                    <a href="../02day/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        编辑器、服务器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="02day/section.1.html">
            
                
                    <a href="../02day/section.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        gedit编辑器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="02day/section.1.1.html">
            
                
                    <a href="../02day/section.1.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        sublime编辑器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="02day/section.2.html">
            
                
                    <a href="../02day/section.2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        编辑器之神-vim
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.4" data-path="02day/section.3.html">
            
                
                    <a href="../02day/section.3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        ubuntu软件安装与卸载方法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="02day/section.4.html">
            
                
                    <a href="../02day/section.4.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        Linux常用服务器构建-ftp服务器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="02day/section.5.html">
            
                
                    <a href="../02day/section.5.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        Linux常用服务器构建-ssh和scp
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="02day/section.6.html">
            
                
                    <a href="../02day/section.6.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        附录-vim分屏操作
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >课程介绍</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="ubuntu&#x8F6F;&#x4EF6;&#x5B89;&#x88C5;&#x4E0E;&#x5378;&#x8F7D;">ubuntu&#x8F6F;&#x4EF6;&#x5B89;&#x88C5;&#x4E0E;&#x5378;&#x8F7D;</h1>
<h2 id="&#x66F4;&#x65B0;ubuntu&#x8F6F;&#x4EF6;&#x4E0B;&#x8F7D;&#x5730;&#x5740;">&#x66F4;&#x65B0;Ubuntu&#x8F6F;&#x4EF6;&#x4E0B;&#x8F7D;&#x5730;&#x5740;</h2>
<h3 id="1-&#x5BFB;&#x627E;&#x56FD;&#x5185;&#x955C;&#x50CF;&#x6E90;">1. &#x5BFB;&#x627E;&#x56FD;&#x5185;&#x955C;&#x50CF;&#x6E90;</h3>
<p>&#x6240;&#x8C13;&#x7684;&#x955C;&#x50CF;&#x6E90;&#xFF1A;&#x53EF;&#x4EE5;&#x7406;&#x89E3;&#x4E3A;&#x63D0;&#x4F9B;&#x4E0B;&#x8F7D;&#x8F6F;&#x4EF6;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x6BD4;&#x5982;Android&#x624B;&#x673A;&#x4E0A;&#x53EF;&#x4EE5;&#x4E0B;&#x8F7D;&#x8F6F;&#x4EF6;&#x7684;91&#x624B;&#x673A;&#x52A9;&#x624B;&#xFF1B;iOS&#x624B;&#x673A;&#x4E0A;&#x53EF;&#x4EE5;&#x4E0B;&#x8F7D;&#x8F6F;&#x4EF6;&#x7684;AppStore</p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-89.png" alt=""></p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-90.png" alt=""></p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-91.png" alt=""></p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-92.png" alt=""></p>
<h3 id="2-&#x5907;&#x4EFD;ubuntu&#x9ED8;&#x8BA4;&#x7684;&#x6E90;&#x5730;&#x5740;">2. &#x5907;&#x4EFD;Ubuntu&#x9ED8;&#x8BA4;&#x7684;&#x6E90;&#x5730;&#x5740;</h3>
<pre><code>sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
</code></pre><p><img src="../Images/01-linux&#x57FA;&#x7840;-88.png" alt=""></p>
<h3 id="3-&#x66F4;&#x65B0;&#x6E90;&#x670D;&#x52A1;&#x5668;&#x5217;&#x8868;">3. &#x66F4;&#x65B0;&#x6E90;&#x670D;&#x52A1;&#x5668;&#x5217;&#x8868;</h3>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-93.png" alt=""></p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-94.png" alt=""></p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-95.png" alt=""></p>
<h3 id="4-&#x66F4;&#x65B0;&#x6E90;">4. &#x66F4;&#x65B0;&#x6E90;</h3>
<p>&#x505A;&#x5B8C;&#x6B64;&#x6B65;&#x9AA4;&#x4E4B;&#x540E;&#xFF0C;&#x5C31;&#x53EF;&#x4EE5;&#x8FDB;&#x884C;apt-get install &#x4E0B;&#x8F7D;&#x4E86;</p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-96.png" alt=""></p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-97.png" alt=""></p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-98.png" alt=""></p>
<h2 id="ubuntu&#x8F6F;&#x4EF6;&#x64CD;&#x4F5C;&#x7684;&#x76F8;&#x5173;&#x547D;&#x4EE4;">Ubuntu&#x8F6F;&#x4EF6;&#x64CD;&#x4F5C;&#x7684;&#x76F8;&#x5173;&#x547D;&#x4EE4;</h2>
<pre><code>sudo apt-get update  &#x66F4;&#x65B0;&#x6E90;

sudo apt-get install package &#x5B89;&#x88C5;&#x5305;

sudo apt-get remove package &#x5220;&#x9664;&#x5305;

sudo apt-cache search package &#x641C;&#x7D22;&#x8F6F;&#x4EF6;&#x5305;

sudo apt-cache show package  &#x83B7;&#x53D6;&#x5305;&#x7684;&#x76F8;&#x5173;&#x4FE1;&#x606F;&#xFF0C;&#x5982;&#x8BF4;&#x660E;&#x3001;&#x5927;&#x5C0F;&#x3001;&#x7248;&#x672C;&#x7B49;

sudo apt-get install package --reinstall   &#x91CD;&#x65B0;&#x5B89;&#x88C5;&#x5305;

sudo apt-get -f install   &#x4FEE;&#x590D;&#x5B89;&#x88C5;

sudo apt-get remove package --purge &#x5220;&#x9664;&#x5305;&#xFF0C;&#x5305;&#x62EC;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x7B49;

sudo apt-get build-dep package &#x5B89;&#x88C5;&#x76F8;&#x5173;&#x7684;&#x7F16;&#x8BD1;&#x73AF;&#x5883;

sudo apt-get upgrade &#x66F4;&#x65B0;&#x5DF2;&#x5B89;&#x88C5;&#x7684;&#x5305;

sudo apt-get dist-upgrade &#x5347;&#x7EA7;&#x7CFB;&#x7EDF;

sudo apt-cache depends package &#x4E86;&#x89E3;&#x4F7F;&#x7528;&#x8BE5;&#x5305;&#x4F9D;&#x8D56;&#x90A3;&#x4E9B;&#x5305;

sudo apt-cache rdepends package &#x67E5;&#x770B;&#x8BE5;&#x5305;&#x88AB;&#x54EA;&#x4E9B;&#x5305;&#x4F9D;&#x8D56;

sudo apt-get source package  &#x4E0B;&#x8F7D;&#x8BE5;&#x5305;&#x7684;&#x6E90;&#x4EE3;&#x7801;

sudo apt-get clean &amp;&amp; sudo apt-get autoclean &#x6E05;&#x7406;&#x65E0;&#x7528;&#x7684;&#x5305;

sudo apt-get check &#x68C0;&#x67E5;&#x662F;&#x5426;&#x6709;&#x635F;&#x574F;&#x7684;&#x4F9D;&#x8D56;
</code></pre>
                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../02day/section.2.html" class="navigation navigation-prev " aria-label="Previous page: 编辑器之神-vim"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../02day/section.4.html" class="navigation navigation-next " aria-label="Next page: Linux常用服务器构建-ftp服务器"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
